package com.avic.modules.mapping.service.dto;

import com.avic.annotation.Query;
import lombok.Data;

import java.util.Set;

@Data
public class DataMappingQueryCriteria {

    // 点位id
    @Query(propName = "id", type = Query.Type.EQUAL)
    private String id;

    // 设备id
    @Query(propName = "equipId", type = Query.Type.EQUAL)
    private String equipId;

    // iot标签名
    @Query(propName = "tagName", type = Query.Type.EQUAL)
    private String tagName;

    // isdel
    @Query(propName = "isDel", type = Query.Type.EQUAL)
    private Integer isDel;

    // 点位名称
    @Query(propName = "dataName", type = Query.Type.EQUAL)
    private String dataName;

    // 数据类型
    @Query(propName = "dataType", type = Query.Type.EQUAL)
    private Integer dataType;

    // 点位记录
    @Query(propName = "recordCate", type = Query.Type.EQUAL)
    private Long recordCate;

    // 点位显示位置
    @Query(propName = "recordType", type = Query.Type.EQUAL)
    private Integer recordType;

    // 点位显示位置
    @Query(propName = "recordType", type = Query.Type.IN)
    private Set<Integer> recordTypeList;


    // 点位地址(节点id)
    @Query(propName = "dataAddr", type = Query.Type.EQUAL)
    private String dataAddr;
}
